﻿<UserControl x:Class="AvalonWizardSample.Mvvm.Views.Page3View"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <StackPanel>
        <StackPanel.Resources>
            <BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter" />
        </StackPanel.Resources>
        
        <TextBlock Text="{Binding ProgressText}" Margin="5,20,5,5"/>
        <ProgressBar Maximum="{Binding OperationCount}" Value="{Binding CurrentOperation}" Height="20" Margin="5"
            Visibility="{Binding ShowProgress, Converter={StaticResource BooleanToVisibilityConverter}}"/>
    </StackPanel>
</UserControl>
